Skip to content

gh-138744: Upgrade Windows to 2025 in GitHub Actions#144682

Merged
vstinner merged 3 commits intopython:mainfrom
vstinner:windows_2025_main
Feb 12, 2026
Merged

gh-138744: Upgrade Windows to 2025 in GitHub Actions#144682
vstinner merged 3 commits intopython:mainfrom
vstinner:windows_2025_main

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Feb 10, 2026

Replace windows-2022 with windows-2025.

@vstinner
Copy link
Member Author

I modified a random file (Lib/test/test_dtrace.py) to trigger the Windows CIs. I will revert this TEST change once I will have the confirmation that the Windows CIs pass.

@vstinner
Copy link
Member Author

This change leaves .azure-pipelines/ci.yml unchanged, it still contains:

- job: Windows_CI_Tests
  ...
  pool:
    vmImage: windows-2022

I propose updating .azure-pipelines/ci.yml in a separated change.

@vstinner
Copy link
Member Author

See also #144679 : we might wait and upgrade directly to windows-2025-vs2026 image.

@vstinner
Copy link
Member Author

All Windows CI jobs passed successfully. Examples:

JIT / aarch64-pc-windows-msvc/msvc (Debug) (pull_request)
JIT / aarch64-pc-windows-msvc/msvc (Release) (pull_request)
JIT / i686-pc-windows-msvc/msvc (Debug) (pull_request)
JIT / i686-pc-windows-msvc/msvc (Release) (pull_request)
Tests / Windows (free-threading) / Build and test (arm64) (pull_request)
Tests / Windows (free-threading) / Build and test (x64) (pull_request)
Tests / Windows / Build and test (arm64) (pull_request)
Tests / Windows / Build and test (Win32) (pull_request)
Tests / Windows / Build and test (x64) (pull_request)
Tests / Windows MSI / installer for arm64 (pull_request)
Tests / Windows MSI / installer for x64 (pull_request)
Tests / Windows MSI / installer for x86 (pull_request)

@vstinner vstinner marked this pull request as ready for review February 11, 2026 14:51
@vstinner
Copy link
Member Author

The PR is now ready for review.

I got the confirmation that Windows CI jobs pass successfully with this change, so I reverted the TEST change to trigger these jobs.

@vstinner
Copy link
Member Author

@chris-eibl @zooba: So are you ok with this change?

@chris-eibl
Copy link
Member

Yeah, we can upgrade to windows-2025-vs2026 in a further PR.

@zooba
Copy link
Member

zooba commented Feb 12, 2026

Yep :shipit:

@vstinner vstinner merged commit eb6ebdb into python:main Feb 12, 2026
53 checks passed
@vstinner vstinner deleted the windows_2025_main branch February 12, 2026 15:19
@vstinner
Copy link
Member Author

Merged, thanks for reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants